﻿using System.Collections.Generic;

namespace InstantMessenger.Transports
{
    public interface ITransport
    {
        string DisplayName { get; }
        void Start(IEnumerable<Contact> allContacts);
        void Stop();
        bool DeliverMessage(string sender, string recipient, string message);
        bool IsOnline(Contact contact);
        void AddContact(Contact contact);
        void RemoveContact(Contact contact);
    }
}